from rest_framework import generics
import django_filters
from apps.home.models import Employee


class EmployeeFilter(django_filters.rest_framework.FilterSet):

    class Meta:
        model = Employee
        fields = ['job_number', 'name', 'department', 'role']